import { applyMiddleware, createStore } from 'redux'
import thunk from 'redux-thunk'
import reducers from '../share/store/reducers'

const store = createStore(reducers,window.INITAL_STATE,applyMiddleware(thunk))

export default store